function openReceipt(val) {
    //window.open("http://pg1.payletter.com/PGSVC/AllTheGate/Receipt.asp?id="+val, "receipt","width=460,height=730,scrollbars=no,resize=yes");
	window.open("http://pg1.payletter.com/PGSVC/Receipt/CreditReceiptForm.asp?id="+val,"receiptatg","width=420,height=670,scrollbars=no,resize=yes");

}